Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Docs] Configure Myst-parser to parse anchor tag #1012

Merged
merged 1 commit into from
May 12, 2022

Conversation

gaotongxiao
Copy link
Collaborator

@gaotongxiao gaotongxiao commented May 12, 2022

By default, myst-parser did not parse links to anchor tags in markdown files, making these hyperlinks become raw texts in docs. This PR updates myst's configuration to enable this feature.

For example:
https://mmocr--1012.org.readthedocs.build/en/1012/tutorials/dataset_types.html#id3
vs
https://mmocr.readthedocs.io/en/latest/tutorials/dataset_types.html#id3

@gaotongxiao gaotongxiao merged commit 3059c97 into open-mmlab:main May 12, 2022
@gaotongxiao gaotongxiao deleted the fix_myst branch May 12, 2022 16:45
gaotongxiao added a commit to gaotongxiao/mmocr that referenced this pull request Jul 15, 2022
gaotongxiao added a commit to gaotongxiao/mmocr that referenced this pull request Jul 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants